package top.shiyiri.community.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author Aunean
 * @date 2022/3/14 17:25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("login_ticket")
public class LoginTicket {
    private Integer id;
    private int userId;
    //登录凭证
    private String ticket;
    //0-有效; 1-无效
    private int status;
    //到期时间
    private Date expired;
}
